package reflect;

import java.lang.reflect.Array;
import java.util.Arrays;

public class ArgsDemo {
    public static void main(String... args) {
        doSome(1);
        doSome(1,"b");
        doSome(1,"b","c");
        doSome(1,"b","c","d","a","b","c","d","a","b","c","d","a","b","c","d","a","b","c","d");
    }
    public static void doSome(int a,String... s) {
        System.out.println(s.length);
        System.out.println(Arrays.toString(s));
    }

}


